package org.ruixue.response;

/**
 * API 响应类
 */
public class BaseResponse {

    /**
     * 返回信息
     */
    private String msg = "";

    /**
     * 是否成功
     * true 成功
     * false 失败
     */
    private String success = "true";

    public BaseResponse() {
    }

    public BaseResponse(String success, String msg) {
        this.msg = msg;
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }
}
